package pATT.bNEdit.gui;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author not attributable
 * @version 1.0
 */


public class NetFilter extends javax.swing.filechooser.FileFilter {
  public String getDescription() {
    return "Net (Hugin Format)";
  }

  public boolean accept(java.io.File f) {
    String name = f.getName();
    String ext = name.substring(name.lastIndexOf('.')+1).toLowerCase();
    return f.isDirectory() || ext.equals("net");
  }
}
